.notifications-container {
  padding: 1rem;
}

.page-title {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* 通知筛选器 */
.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.notifications-filter {
  display: flex;
  gap: 0.5rem;
}

/* 通知列表 */
.notifications-list {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.notification-item {
  padding: 1.2rem;
  border-bottom: 1px solid #ecf0f1;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: #f8f9fa;
  border-left: 3px solid rgb(174, 0, 43);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.notification-title {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scheduled-indicator {
  color: #3498db;
  font-size: 0.9rem;
}

.notification-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.btn-icon:hover {
  background-color: #ecf0f1;
}

.btn-mark-read {
  color: #2ecc71;
}

.btn-delete {
  color: #e74c3c;
}

.notification-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.notification-recipient {
  flex: 1 0 40%;
}

.notification-content {
  color: #34495e;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* 无通知状态 */
.no-notifications {
  padding: 2rem;
  text-align: center;
  color: #7f8c8d;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 创建通知表单 */
.create-notification-container {
  padding: 1rem;
}

.notification-form {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: rgb(174, 0, 43);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: rgb(174, 0, 43);
  border-color: rgb(174, 0, 43);
}

.btn-primary:hover {
  background-color: rgb(255, 89, 130);
  border-color: rgb(255, 89, 130);
}

.btn-secondary {
  color: #34495e;
  background-color: #ecf0f1;
  border-color: #ecf0f1;
}

.btn-secondary:hover {
  background-color: #dce1e4;
  border-color: #dce1e4;
}

/* 分页控件 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.page-numbers {
  display: flex;
  gap: 0.3rem;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #34495e;
}

.btn-outline:hover {
  background-color: #f8f9fa;
}

/* 加载和错误状态 */
.loading,
.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #7f8c8d;
  font-size: 1rem;
}

.error-message {
  color: #e74c3c;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .notifications-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}